package com.wy.elasticsearch;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.sql.Date;
import java.sql.Timestamp;

@Data
@Document(indexName = "zyt",type="doc")
public class BaseInfo {
    @Id
    private long id;
    private String cardid;
    private String regioncode;
    private String username;
    private String namepinyin;
    private int gender;
    private int birthyear;
    private Date jointime;
    private Date quittime;
    private String photo;
    private String address;
    private String phonenumber;
    private Timestamp updatetime;
    private Timestamp createtime;

}
